package com.ruoyi.recipes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 烹饪时间选项对象 cook_time_options
 * 
 * @author syy
 * @date 2025-08-12
 */
public class CookTimeOptions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 耗时ID */
    private Long id;

    /** 耗时描述（如“15分钟以内”） */
    @Excel(name = "耗时描述", readConverterExp = "如=“15分钟以内”")
    private String name;

    /** 是否删除：0正常 1删除 */
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("del", getDel())
            .toString();
    }
}
